<!--#layout("/common/layout.html",{"jsBase":"/js/admin/article/"}){ -->
<form class="layui-hide" id="searchForm">
	<input type="text" value="${parameter.catalogId!}" name="catalogId" />
</form>
<div class="layui-btn-group">
    <layui:accessButton function="admin.article.add" attrs='catalogId="${parameter.catalogId}"' action="add">增加</layui:accessButton>
    <layui:accessButton function="admin.article.edit"  action="edit">编辑</layui:accessButton>
    <layui:accessButton function="admin.article.delete"  action="del">删除</layui:accessButton>
    <div class="layui-hide">
     <layui:accessButton function="admin.article.export"  action="exportDocument">导出</layui:accessButton>
     <layui:accessButton function="admin.article.import"  action="importDocument">导入</layui:accessButton>
    </div>
</div>

<table id="articleTable" lay-filter="articleTable"></table>
<!--#} -->
<script>

layui.use(['list'], function(){
    var list = layui.list;
    list.init();
});

</script>
<script type="text/html" id="optionTpl">
		<layui:accessButton function="admin.article.edit" valueId="{{d.id}}" style="layui-btn-xs" action="edit">编辑</layui:accessButton>
		<layui:accessButton function="admin.article.delete" valueId="{{d.id}}" style="layui-btn-xs" action="del">删除</layui:accessButton>
</script>
<script type="text/html" id="tagTpl">
    <layui:articleTagList function="admin.article.edit" dictType="article_tag" style="layui-btn-xs" action="edit" />
</script>